package com.weixin.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zjd
 * @Title:
 * @Description:
 * @date 2021/4/1214:05
 */
@Component
@ConfigurationProperties(prefix = "weixin")
public class WeiXinProperties {

    /**
     * 企业id
     * */
    private static  String corpId;

    /**
     * 应用Secret
     * */
    private static String corpSecret;

    /**
     * 应用id
     * */
    private static Long agentId;

    /**
     * 第三方调用地址
     * */
    private static String url;

    /**
     * 通讯Secret
     * */
    private static  String addressBookSecret;

    /**
     * 客户Secret
     * */
    private static String customerSecret;

    /**
     * 接收事件服务器token
     * */
    private static  String token;

    /**
     * 接收事件服务器encodingAESKey
     * */
    private static String encodingAESKey;

    /**
     * 汇报AgentId
     * */
    private static String reportAgentId;
    /**
     * 汇报Secret
     * */
    private static String reportSecret;

    /**
     * 会议室Secret
     * */
    private static String conferenceRoomSecret;


    /**
     * 网盘Secret
     * */
    private static String networkDiskSecret;

    public static String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        WeiXinProperties.corpId = corpId;
    }

    public static String getCorpSecret() {
        return corpSecret;
    }

    public void setCorpSecret(String corpsecret) {
        WeiXinProperties.corpSecret = corpsecret;
    }

    public static Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        WeiXinProperties.agentId = agentId;
    }

    public static String getUrl() {
        return url;
    }

    public  void setUrl(String url) {
        WeiXinProperties.url = url;
    }

    public static String getAddressBookSecret() {
        return addressBookSecret;
    }

    public  void setAddressBookSecret(String addressBookSecret) {
        WeiXinProperties.addressBookSecret = addressBookSecret;
    }

    public static String getCustomerSecret() {
        return customerSecret;
    }

    public  void setCustomerSecret(String customerSecret) {
        WeiXinProperties.customerSecret = customerSecret;
    }

    public static String getToken() {
        return token;
    }

    public  void setToken(String token) {
        WeiXinProperties.token = token;
    }

    public static String getEncodingAESKey() {
        return encodingAESKey;
    }

    public  void setEncodingAESKey(String encodingAESKey) {
        WeiXinProperties.encodingAESKey = encodingAESKey;
    }

    public static String getReportAgentId() {
        return reportAgentId;
    }

    public void setReportAgentId(String reportAgentId) {
        WeiXinProperties.reportAgentId = reportAgentId;
    }

    public static String getReportSecret() {
        return reportSecret;
    }

    public void setReportSecret(String reportSecret) {
        WeiXinProperties.reportSecret = reportSecret;
    }

    public static String getConferenceRoomSecret() {
        return conferenceRoomSecret;
    }

    public  void setConferenceRoomSecret(String conferenceRoomSecret) {
        WeiXinProperties.conferenceRoomSecret = conferenceRoomSecret;
    }

    public static String getNetworkDiskSecret() {
        return networkDiskSecret;
    }

    public void setNetworkDiskSecret(String networkDiskSecret) {
        WeiXinProperties.networkDiskSecret = networkDiskSecret;
    }
}
